#include "realpow.h"

RealPow::RealPow() {
}

RealPow::~RealPow() {
}

char RealPow::getSign() {
    return '^';
}

void RealPow::evaluateMe(LinkedList<double>& evaluationStack, const double* positionArray) {
    evaluationStack.getSecondLastElement()=pow(evaluationStack.getSecondLastElement(), evaluationStack.getElementAtEnd());
    delete &evaluationStack.pop();
}
